package com.black.system.domain.req.system.add;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
@ApiModel(value = "字典类型添加请求模型")
public class SysDictTypeAddReq {
    @ApiModelProperty(value = "字典名称", required = true)
    @NotBlank(message = "{sysdicttype.not.dictName}")
    private String dictName;

    @ApiModelProperty(value = "字典类型", required = true)
    @NotBlank(message = "{sysdicttype.not.dictType}")
    private String dictType;

    @ApiModelProperty(value = "状态（0正常 1停用）", required = true)
    @NotBlank(message = "{sysdicttype.not.status}")
    private String status;

    @ApiModelProperty(value = "备注")
    private String remark;
}
